package com.bst.etl.datax.dto;


/**
 * Created by mac on 2020/3/16.
 */
public class UpsertInfo {
    /**
     * 当设置为true时，表示针对相同的upsertKey做更新操作
     */
    private Boolean isUpsert;
    /**
     * upsertKey指定了没行记录的业务主键。用来做更新时使用。
     */
    private String upsertKey;

    public Boolean getUpsert() {
        return isUpsert;
    }

    public void setUpsert(Boolean upsert) {
        isUpsert = upsert;
    }

    public String getUpsertKey() {
        return upsertKey;
    }

    public void setUpsertKey(String upsertKey) {
        this.upsertKey = upsertKey;
    }
}
